//
//  ViewController.h
//  外星球生活圈
//
//  Created by MR.ZHOU on 15/8/12.
//  Copyright (c) 2015年 MR.ZHOU. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DSFunction : NSObject

//时间戳
+ (NSString *)getTimeScamp;

//MD5
+ (NSString *)md5StringFromArray:(NSArray *)array;

//保存bool值的方法
+ (void)saveBoolWithBoolean:(BOOL)flag withKey:(NSString *)key;

+ (BOOL)getBooleanWithKey:(NSString *)key;

+(void)saveUserInfo:(NSDictionary *)dict;

+(void)readUserInfo;

+(void)saveUserimage :(UIImage *)image;

+(UIImage *)readImage;

+(void)removeData;

+(void)removeCache;
@end
